@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1b1b1b;
}



.box
{
    position: relative;
    width: 492px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;

}
.box h2
{
    text-align: center;
    color: #fff;
    font-size: 60px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px #00b3ff,
    0 0 20px #00b3ff,
    0 0 40px #00b3ff;

}
.lightbar
{
    position: absolute;
    top: 0;
    left: 70px;
    width: 6px;
    height: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 10px #00b3ff,
    0 0 20px #00b3ff,
    0 0 40px #00b3ff;


    animation: animatelightbar 5s linear infinite;
}
@keyframes animatelightbar
{
    0%,5%
    {
        transform: scaleX(0) translateX(0);
    }
    10%
    {
        transform: scaleY(1) translateX(0);
    }
    90%
    {
         transform: scaleY(1) translateX(344px);
    }
    95%,100%
    {
        transform: scaleY(0) translateX(344px);
    }
}
.toplayer
{
    position: absolute;
    top: -40px;
    left: 70px;
    width: 350px;
    height: 180px;
    background: #1b1b1b;
    animation: animatetoplayer 10s linear infinite;
}
@keyframes animatetoplayer
{
    0%,2.5%
    {
        transform: translateX(6px);
    }
    5%
    {
        transform:translateX(6px);
    }
    45%
    {
        transform: translateX(350px);
    }
    47.5%,50%
    {
        transform: translateX(350px);
    }
    50.001%,52.5%
    {
        transform: translateX(-350px);
    }
    55%
    {
        transform: translateX(-350px);
    }
    95%
    {
        transform: translateX(-6px);
    }
    97.5%,100%
    {
        transform: translateX(-6px);
    }
}




.inputBox
{
    position: relative;
    border: 2px solid #131313;
    background: linear-gradient(#1e2024,#18181c);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
}
#form .indicator
{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
}




#form .indicator.valid
{
    box-shadow: 0 0 5px #0f0,
                0 0 10px #0f0,
                0 0 20px #0f0,
                0 0 40px #0f0;
    background: #0f0;
}
#form .indicator.invalid
{
    background: #f00;
    box-shadow: 0 0 5px #f00,
                0 0 10px #f00,
                0 0 20px #f00,
                0 0 40px #f00;
}




#form input
{
    width: 300px;
    outline: none;
    background: transparent;
    border: navajowhite;
    padding: 12px 15px;
    padding-right: 50px;
    color: #fff;
    font-size: 18px;

    position: relative;


}


.inputBox label {
    cursor: text;
    margin: 0;
    padding: 0;
    left: 15px;
    top: 15px;
    position: absolute;
    font-size: 14px;
    color: #ccc;
    font-weight: normal;
    transition: all .3s ease;
}
.inputBox label.active {
    top: 0;
    left: 0;
    font-size: 10px;
}
.inputBox label.active.focusIn {
    color: #ffffff;
}




.container
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.container a
{
    position: relative;
    display: inline-block;
    padding: 15px 45px;
    border: 2px solid #0f0;
    margin: 40px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 2px;
    color: #ffffff;
    -webkit-box-reflect:below 0px linear-gradient(transparent,#0002);
    transition: 0.5s;
    transition-delay: 0s;
}
.container a:hover
{
    transition-delay: 1.5s;
    color: #000;
    box-shadow: 0 0 10px #0f0,
    0 0 20px #0f0,
    0 0 40px #0f0,
    0 0 80px #0f0,
    0 0 160px #0f0;
}
.container a span
{
    position: relative;
    z-index: 100;
}
.container a:nth-child(2)
{
    filter: hue-rotate(80deg);
}
.container a::before
{
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #0f0;
    box-shadow: 5px -8px 0 #0f0,
                5px  8px 0 #0f0;
    transition: width 0.5s, left 0.5s, height 0.5s,box-shadow 0.5s;
    transition-delay: 1s,0.5s,0s,0s;
}
.container a:hover::before
{
    width: 60%;
    height: 100%;
    left: -2px;
    background: #0f0;
    box-shadow: 5px 0 0 #0f0,
                5px 0 0 #0f0;
    transition-delay: 0s,0.5s,1s,1s;
}

.container a::after
{
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #0f0;
    box-shadow: -5px -8px 0 #0f0,
                -5px  8px 0 #0f0;
    transition: width 0.5s, right 0.5s, height 0.5s,box-shadow 0.5s;
    transition-delay: 1s,0.5s,0s,0s;
}
.container a:hover::after
{
    width: 60%;
    height: 100%;
    right: -2px;
    background: #0f0;
    box-shadow: -5px 0 0 #0f0,
                -5px 0 0 #0f0;
    transition-delay: 0s,0.5s,1s,1s;
}


.container input
{
    position: relative;
    display: inline-block;
    padding: 15px 45px;
    border: 2px solid #0f0;
    margin: 40px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 2px;
    color: #ffffff;
    -webkit-box-reflect:below 0px linear-gradient(transparent,#0002);
    transition: 0.5s;
    transition-delay: 0s;
}
.container input:hover
{
    transition-delay: 1.5s;
    color: #000;
    box-shadow: 0 0 10px #0f0,
    0 0 20px #0f0,
    0 0 40px #0f0,
    0 0 80px #0f0,
    0 0 160px #0f0;
}
.container input span
{
    position: relative;
    z-index: 100;
}
.container input:nth-child(2)
{
    filter: hue-rotate(80deg);
}
.container input::before
{
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #0f0;
    box-shadow: 5px -8px 0 #0f0,
    5px  8px 0 #0f0;
    transition: width 0.5s, left 0.5s, height 0.5s,box-shadow 0.5s;
    transition-delay: 1s,0.5s,0s,0s;
}
.container input:hover::before
{
    width: 60%;
    height: 100%;
    left: -2px;
    background: #0f0;
    box-shadow: 5px 0 0 #0f0,
    5px 0 0 #0f0;
    transition-delay: 0s,0.5s,1s,1s;
}

.container input::after
{
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: #0f0;
    box-shadow: -5px -8px 0 #0f0,
    -5px  8px 0 #0f0;
    transition: width 0.5s, right 0.5s, height 0.5s,box-shadow 0.5s;
    transition-delay: 1s,0.5s,0s,0s;
}
.container input:hover::after
{
    width: 60%;
    height: 100%;
    right: -2px;
    background: #0f0;
    box-shadow: -5px 0 0 #0f0,
    -5px 0 0 #0f0;
    transition-delay: 0s,0.5s,1s,1s;
}

#errorMsg
{
    position: relative;
    bottom: 20px;
    left: 170px;
    font-weight: 600;
    letter-spacing: 1px;
    /* display: inline-block; */
    font-size: 1.2em;
    /* background: #fff; */
    color: #fff;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 25px #ff0000;
}